//
//  OIDHeaderFile.h
//  Education OID
//
//  Created by slz on 2017/5/8.
//  Copyright © 2017年 bnsr. All rights reserved.
//

#ifndef OIDHeaderFile_h
#define OIDHeaderFile_h
#import "BaseItem.h"
#import "FMDB.h"
#import "ASIHTTPRequest.h"
#import "TGMBaseModel.h"
#import "BaseViewController.h"
#import "YWTableView.h"
#import "MFWSdkEnvironment.h"
#import "ConstApi.h"
#import "CacheDB.h"

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#define LBXScan_Define_Native  //下载了native模块
#define LBXScan_Define_ZXing   //下载了ZXing模块
#define LBXScan_Define_ZBar   //下载了ZBar模块
#define LBXScan_Define_UI     //下载了界面模块
#endif

#define SCREEN_SCALE ([UIScreen mainScreen].scale)
#define IS_RETINA() (SCREEN_SCALE >= 1.0f)
#define IS_RETINA_2X() (SCREEN_SCALE == 2.0f)
#define IS_RETINA_3X() (SCREEN_SCALE == 3.0f)

#define IS_IPAD	([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)
#define IS_IPAD_HD (IS_IPAD || IS_RETINA)
#define IS_SCREEN_4 ([UIScreen mainScreen].bounds.size.height == 568.0f)
#define IS_SCREEN_4_7 ([UIScreen mainScreen].bounds.size.height == 667.0f)
#define IS_SCREEN_4_7_OR_BIGGER ([UIScreen mainScreen].bounds.size.height >= 667.0f)
#define IS_SCREEN_5_5 ([UIScreen mainScreen].bounds.size.height == 736.0f)
#define IS_SCREEN_5_5_OR_BIGGER ([UIScreen mainScreen].bounds.size.height >= 736.0f)

#define kLineColor_Gray_Default [UIColor colorWithRGB:0xc8c0bd]
#define kBackColor_Yellow_Default [UIColor colorWithRGB:0xff630d]
#define kDark_TextColor_Default [UIColor colorWithRGB:0x727271]
#define kLight_TextColor_Default [UIColor colorWithRGB:0x909090]
#define kChange_InfoColor_bakc_Default [UIColor colorWithRGB:0xececec]

#define kBack_Color_Default [UIColor colorWithRGB:0x68b3f4]
#define kBlue_Color_Default [UIColor colorWithRGB:0x82b1f0]

#define kUser_Info_pwd @"kUser_Info_pwd"
/*
 1 判断是不是url 
 2 是url 取oid参数 有oid参数 去参数请求 没有oid 直接跳转
 3不是url 直接请求
 */

#endif /* OIDHeaderFile_h */
